package com.zhku.laosiji.service;

import com.zhku.laosiji.pojo.Park;

import java.util.List;

/**
 * @author Jiayuan
 * @version 1.0
 * @description:
 * @time 9/11/2018 9:08 AM
 */
public interface ParkService {
    List<Park> find(Integer status);

    Park findDetail(Integer id);

    int updateStatus(Integer parkId,Integer status);

	List<Park> selectAllPark();
	
	Integer countTotalPark();
	
	int insertSelective(Park record);
	
	Park selectByPrimaryKey(Integer id);
	
	int updateByPrimaryKey(Park record);
	
	int deleteByPrimaryKey(Integer id);
	
	List<Park> selectParkByName(String parkname);
	
	Integer countSearchPark(String parkname);
}
